/**
 * 补卡套件
 */
export const lackCardChildren = [
    {
        label: '补卡类型',
        formId: 'lackType',
        tag: 'RadioGroup',
        rules: [
            {
                required: true,
                message: '请选择补卡类型'
            }
        ],
        options: {
            disabled: false,
            placeholder: '请选择补卡类型'
        },
        dataList: []
    },
    {
        label: '补卡时间',
        formId: 'lackDate',
        tag: 'Date',
        dataType: 'yearTime',
        isSummary: true,
        rules: [
            {
                required: true,
                message: '请选择补卡时间'
            }
        ],
        options: {
            disabled: false,
            placeholder: '请选择补卡时间',
            allowClear: false
        }
    },
    {
        label: '补卡事由',
        formId: 'reason',
        tag: 'TextArea',
        extra: '2-200个字符',
        isSummary: true,
        rules: [
            {
                required: true,
                message: '请填写补卡事由！'
            },
            {
                min: 2,
                max: 200,
                message: '输入的字符长度不规范'
            }
        ],
        options: {}
    }
];

export const lackCardControl = {
    label: '补卡申请',
    cmpType: 'custom',
    formId: '',
    key: 'LackCard',
    tag: 'LackCard',
    tagIcon: 'iconprocess_common_supplementcard_icon',
    children: lackCardChildren
};
